import java.util.LinkedList;
import java.util.Queue;

public class MyQueue {
	public static void main(String[] args){
		Queue<Integer> queue = new LinkedList<>();
		
		queue.offer(1);
		queue.offer(2);
		queue.offer(3);
		System.out.println(queue);
		
		int x = queue.poll();
		System.out.println(x);
		System.out.println(queue);
		
		int front = queue.peek();
		System.out.println(front);
		System.out.println(queue);
		
		boolean isEmpty = queue.isEmpty();
		System.out.println(isEmpty);
		
		int size = queue.size();
		System.out.println(size);
	}
}
